#include "faceinfo.h"

FaceInfo::FaceInfo(const cv::Mat& mat) :
    faceImage(cv2seetaimage(mat))
{

}

FaceInfo::FaceInfo(const SeetaImageData& seetaimage) :
    faceImage(seetaimage)
{

}

bool FaceInfo::isEmpty()
{
    return faceImage.width == 0 && faceImage.height == 0;
}
